package com.mrzhou.log.event;

import com.mrzhou.log.constant.LogConstant;
import com.mrzhou.log.entity.LogError;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

import java.util.Map;


public class ErrorLogListener {

    @EventListener
    public void eventListener(ErrorLogEvent event) {
        Map<String, Object> param = (Map) event.getSource();
        LogError logError = (LogError) param.get(LogConstant.EVENT_LOG);


    }


}
